package cn.trigram.structure;

import java.io.Serializable;

/**
 * 二叉树节点
 *
 * @author 一日看尽长安花
 * @date 2022/01/13 15:48:57
 */
public abstract class BinaryTreeNode implements Serializable {

  private BinaryTreeNode left;

  private BinaryTreeNode right;

  public BinaryTreeNode getLeft() {

    return left;
  }

  public void setLeft(BinaryTreeNode left) {

    this.left = left;
  }

  public BinaryTreeNode getRight() {

    return right;
  }

  public void setRight(BinaryTreeNode right) {

    this.right = right;
  }

}
